Re: creating a view from multiple tables (13 tables)

Поиск
Список
Период
Сортировка
От M. Bastin
Тема Re: creating a view from multiple tables (13 tables)
Дата
Msg-id a06110404bd7a4994966d@[192.168.0.243]
обсуждение исходный текст
Ответ на creating a view from multiple tables (13 tables)  (Kumar S <ps_postgres@yahoo.com>)
Список pgsql-novice
>psql:/home/../temp/postgres/marray2/view.sql:58:
>ERROR:  column reference "fc_probe_set_id" is ambiguous

You have to use the "table.column" notation.  E.g.
"table12.fc_probe_set_id" instead of just "fc_probe_set_id"

Cheers,

Marc

>In my case every table (13 numbers) has 20 columns and
>column names are identical.
>In the select statement it is difficult to specify
>every table name . column name and do this for 20
>times for every chip.

You obviously have to; since all column names are identical how could
you hope PostgreSQL to be sure which table you mean?

В списке pgsql-novice по дате отправления:

Предыдущее
От: "V i s h a l Kashyap @ [Sai Hertz And Control Systems]"
Дата:
Сообщение: List of PL languages in PostgreSQL
Следующее
От: "Garris, Nicole"
Дата:
Сообщение: Re: creating a view from multiple tables (13 tables)